﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 虚数
{
    class Program
    {
        static void Main(string[] args)
        {
            Complex c1 = new Complex(1, 2);
            c1.Show();
            Complex c2 = new Complex(3, 4);
            c2.Show();
            Complex C1 = c1 + c2;
            C1.Show();
            Complex C2 = c1 - c2;
            C2.Show();

            Complex c3 = "5 + 6i";
            c3.Show();

            Console.ReadLine();
        }
    }
}
